/*
 * Problem:
 * Given number n. Print number from 1 to n. But:
 * 给定数字n。打印从1到n的数字。但是：
 *      when number is divided by 3, print "fizz".
 *      当数字能被3整除时，打印“fizz”
 *      when number is divided by 5, print "buzz".
 *      当数字能被5整除时，打印“buzz”
 *      when number is divided by both 3 and 5, print "fizz buzz".
 *      当数字能被3和5整除时，打印“fizz buzz”
 *
 * Example:
 * If n = 15, you should return:
 *
 * [
 * "1", "2", "fizz",
 * "4", "buzz", "fizz",
 * "7", "8", "fizz",
 *  "buzz", "11", "fizz",
 *  "13", "14", "fizz buzz"
 * ]
 *
 * Challenge:
 * Finish it only with 1 if statement
 * 只用一个if语句完成
 */

package me.yobol.lintcode.easy.fizzbuzz;

import java.util.List;

/**
 *
 * @author Yobol
 */
public interface IFizzBuzz {
    public List<String> fizzbuzz(int n);
}
